package cn.timeapi.Applet.Mall.CatSquare.service;


import cn.timeapi.Applet.Mall.CatSquare.common.ServerResponse;
import cn.timeapi.Applet.Mall.CatSquare.entity.Shipping;
import com.github.pagehelper.PageInfo;

/**
 * 描述:收货地址服务接口
 * @author Vincent Vic
 * create 2020-02-21 13:20
 */


public interface IShippingService {

    //增
    public ServerResponse add(String OpenId , Shipping shipping);
    //删
    public ServerResponse<String> deleteShipping(String OpenId,Integer shippingId);
    //改
    public ServerResponse update(String OpenId , Shipping shipping);
    //查
    public ServerResponse select(String OpenId,Integer shippingId);
    //列表
    public ServerResponse<PageInfo> list(String OpenId, int pageNum,  int pageSize);

}